package com.ehome.poct.core.api.qry;

import com.ehome.core.annotations.FastQry;
import com.ehome.core.constant.FilterRules;
import com.ehome.core.entity.Qry;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @description:检测订单列表
 * @auther: muqiu
 * @date: 2022/10/12 9:40
 */
@Data
@Accessors(chain = true)
public class TestOrderQry extends Qry {

    @ApiModelProperty(value = "订单状态（0:待支付，26：待检测，27：检测中，20：已完成）")
    @FastQry(value = FilterRules.IN,field = "status")
    private List<Integer> list;
    @ApiModelProperty(value = "诊所id")
    private Long clinicId;
    @ApiModelProperty(value = "开始时间")
    @FastQry(value = FilterRules.BETWEEN_START,field = "createTime")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "结束时间")
    @FastQry(value = FilterRules.BETWEEN_END,field = "createTime")
    private LocalDateTime endTime;
}
